package com.itheima.youdianda.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.youdianda.domain.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.youdianda.dto.SysUserDto;

import java.util.Map;

/**
* @author YUAN
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2022-09-06 18:36:39
*/
public interface SysUserService extends IService<SysUser> {

    Map<String, Object> getProfile(String id);

    void saveWithDto(SysUserDto sysUserDto);

    void updateWithDto(SysUserDto sysUserDto);

    Page<SysUserDto> pageWithDto(String login_name, String status, String phone, Integer page, Integer limit);

    SysUserDto getByIdWithRoleId(String id);
}
